from django.conf.urls.defaults import *

# Uncomment the next two lines to enable the admin:

urlpatterns = patterns('museumweb.polls.views',
    # Example:
    # (r'^museum/', include('museum.foo.urls')),
    (r'^$','index'),
    (r'^(?P<poll_id>\d+)/$','detail'),
    (r'^(?P<poll_id>\d+)/results/$','results'),
    (r'^(?P<poll_id>\d+)/vote/$','vote'),
    # Uncomment the admin/doc line below to enable admin documentation:
    )
